<?php
/**
 * Map24RssService class file
 * 
 * @author    {author}
 * @copyright {copyright}
 * @package   {package}
 */

/**
 * Map24RssItem class
 */
if ( !class_exists('Map24RssItem') )
{
require_once 'Map24RssItem.php5';
}
/**
 * Map24RssChannel class
 */
if ( !class_exists('Map24RssChannel') )
{
require_once 'Map24RssChannel.php5';
}
/**
 * Map24RssProperty class
 */
if ( !class_exists('Map24RssProperty') )
{
require_once 'Map24RssProperty.php5';
}
/**
 * Map24Rss class
 */
if ( !class_exists('Map24Rss') )
{
require_once 'Map24Rss.php5';
}
/**
 * Map24RssResponse class
 */
if ( !class_exists('Map24RssResponse') )
{
require_once 'Map24RssResponse.php5';
}
/**
 * RequestHeader.CustomerKeyValuePair class
 */
if ( !class_exists('RequestHeaderCustomerKeyValuePair') )
{
require_once 'RequestHeader.CustomerKeyValuePair.php5';
}
/**
 * RequestHeader class
 */
if ( !class_exists('RequestHeader') )
{
require_once 'RequestHeader.php5';
}
/**
 * Coordinate class
 */
if ( !class_exists('Coordinate') )
{
require_once 'Coordinate.php5';
}
/**
 * Property class
 */
if ( !class_exists('Property') )
{
require_once 'Property.php5';
}
/**
 * Map24RssRequest class
 */
if ( !class_exists('Map24RssRequest') )
{
require_once 'Map24RssRequest.php5';
}

/**
 * Map24RssService class
 * 
 *  
 * 
 * @author    {author}
 * @copyright {copyright}
 * @package   {package}
 */
class Map24RssService {

  private $client;

  private $wsdl = null;

  /**
   *
   * @param MapTP-System the request should be executed on $server
   * @param Map24Id $mid
   * @param Map24SessionId $sid
   */ 
  public function __construct($server=null, $mid=null, $sid=null, $interface='map24/webservices1.5') {
    if($server==null || $mid==null || $sid==null){
      echo "ERROR: Not enough or invalid arguments! Unable to initialise SoapClient.";
    }
    else {
      $this->wsdl = "http://".$server."/".$interface."?wsdl=Map24RssService";
      $this->client = new SoapClient($this->wsdl, array('location' => "http://".$server."/".$interface."?soap=Map24RssService&mid=".$mid."&sid=".$sid, 'trace' => 0, 'exceptions' => 1));
    }
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function loadMap24RssFeed(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->loadMap24RssFeed($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function setLocatorPoint(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->setLocatorPoint($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function catchMapView(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->catchMapView($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function map24MRC(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->map24MRC($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function createModifyItem(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->createModifyItem($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function removeItem(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->removeItem($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function createModifyChannel(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->createModifyChannel($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function removeChannel(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->removeChannel($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function createFeed(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->createFeed($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function setTooltipColors(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->setTooltipColors($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function setLocationProperties(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->setLocationProperties($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function removeMap24MRC(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->removeMap24MRC($RequestHeader, $Map24RssRequest);
  }

  /**
   *  
   *
   * @param RequestHeader $RequestHeader
   * @param Map24RssRequest $Map24RssRequest
   * @return Map24RssResponse
   */
  public function moveChannel(RequestHeader $RequestHeader, Map24RssRequest $Map24RssRequest) {
    return $this->client->moveChannel($RequestHeader, $Map24RssRequest);
  }

}

?>
